﻿<%@ Page Language="C#" MasterPageFile="~/Admin/MasterPage.master" AutoEventWireup="true" CodeFile="diadiemlist.aspx.cs" Inherits="Admin_diadiemlist" Title="Untitled Page" %>

<%@ Register Assembly="ASPnetPagerV2_8" Namespace="ASPnetControls" TagPrefix="cc1" %>
<asp:Content ID="Content1" ContentPlaceHolderID="menuPlaceHolder" Runat="Server">
<h5>Menu</h5>
     <ul class="Actions">
        <li><a href="sanphamlist.aspx">Danh Sách Sản Phẩm</a></li>
        <li><a href="loaihanglist.aspx">Danh Sách Loại Hàng</a></li>
         <li><a href="nhanvienlist.aspx">Danh Sách Nhân Viên</a></li>
          <li><a href="nhacclist.aspx">Danh sách nhà cung cấp</a></li>
           <li><a href="donhanglist.aspx">Danh sach đơn hàng</a></li>
            <li><a href="ctdonhang.aspx">Chi tiết đơn hàng</a></li>
    </ul> 
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="contentPlaceHolder" Runat="Server">
<div style="padding:12px 12px 12px 12px;">
 </div>
       
        <div class="title">
            Danh sách doanh nghiệp
        </div>
      
                
                 <div class="addnewrow" style="display:table-cell; width:25%;float:right;">
                    <a href="diadiemadd.aspx">Thêm doanh nghiệp</a> | 
                <asp:LinkButton ID="lbt_Xoa" runat="server" OnClick="lbt_Xoa_Click">Xóa</asp:LinkButton>
          </div>
         
        <div>
            <asp:Repeater ID="Repeater1" runat="server" OnItemDataBound="Repeater1_ItemDataBound">
            <HeaderTemplate>
                <table cellspacing="1" cellpadding="3" width="100%" bgcolor="#cccccc" border="0">
                <thead>
                    <tr class="listtableheader">
                        <th>Mã doanh nghiệp</th>
                        <th>Tên doanh nghiệp</th>
                        <th>Địa chỉ doanh nghiệp</th>
                        <th>Số điện thoại</th>
                        <th>Email</th>
                        <th>Sửa</th>
                        <th>
                            <input id="cb_All" type="checkbox" onclick="CheckAll(1);" />
                            <a href="javascript:CheckAll(2)">Chọn hết</a>
                        </th>
                    </tr>
                </thead>
                <tbody>
            </HeaderTemplate>
              <ItemTemplate>
              <tr>
                <td><%#Eval("madiadiem") %></td>
                <td><asp:HyperLink ID="hyp_tendoanhnghiep" runat="server"></asp:HyperLink></td>
                 <td><%#Eval("diachi") %></td>
                  <td><%#Eval("sodienthoai") %></td>
                   <td><%#Eval("email") %></td>
                <td><asp:HyperLink ID="hpl_Edit" Text="Edit" runat="server" /></td>
                <td>
                    <asp:CheckBox ID="cb_xoa" runat="server" />
                    <asp:HiddenField ID="hf_id" Value='<%#Eval("madiadiem") %>' runat="server" />
                </td>
              </tr>
            </ItemTemplate>
            <FooterTemplate>
                </tbody>
            </table>   
            </FooterTemplate>
            </asp:Repeater>
        </div>
        <div style="width:100%;"> 
            <div style="float:left;">               
                <%--<PagerV2:PagerV2_8 ID="pager" runat="server" OnCommand="pager_Command" />--%>
                <cc1:PagerV2_8 ID="Pager" runat="server" OnCommand="Pager_Command" />
            </div>
        </div>
    
</asp:Content>

